package com.xgl.config;

/**
 * @包名 com.xgl.config
 * @创建人 熊国林
 * @创建时间 2021/5/25
 * @描述 .
 */
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.*;

@Configuration
public class InterceptorConfig implements WebMvcConfigurer {
    @Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {

        registry.addResourceHandler("/image/**").addResourceLocations("file:/F:/Picture/");
    }

}